<link rel="stylesheet" type="text/css" href="css/caseBarParticularsList.css"/>
<script type="text/javascript" src="js/jquery.ztree.core.js"></script>
<link rel="stylesheet" href="css/zTreeStyle.css" type="text/css">
<link rel="stylesheet" type="text/css" href="css/feedback.css"/>
<style>

    #goTopBtn {
        POSITION: fixed;
        TEXT-ALIGN: center;
        LINE-HEIGHT: 30px;
        WIDTH: 30px;
        BOTTOM: 35px;
        HEIGHT: 33px;
        FONT-SIZE: 12px;
        CURSOR: pointer;
        RIGHT: 0px;
        _position: absolute;
        _right: auto
    }
</style>


<div style="display: none" id="goTopBtn">
    <img border=0 src="img/upward.png">
</div>


<div class="yb-message-one" id="ybcabelist" >
    <span class="pull-left yb-one-span">搜索条件</span>
    <ul ng-repeat="x in records">
        <li>
            <div class="pull-left yb-one-hunt" ng-mouseenter="mouse(this)">
                <span>{{x.Name}}</span>
                <span>{{x.Country}}</span>
                <img src="img/occlude.png" ng-click="rejectMsg3(x.Name,x.Country)"/>
            </div>
        </li>

    </ul>

</div>


<div class="yb-message-two">
    <div class="yb-message-two-left clearfix pull-left">

        <div class="zTreeDemoBackground left">
            <ul id="treeDemo" class="ztree"></ul>
        </div>

    </div>

    <div class="yb-message-two-right clearfix pull-right" style="min-height: 900px">

        <div class="right-detail yb-message-div1" ng-repeat="x in correlation" >
          <a style="color:black;">
            <div  class="pull-left" ng-click="gocaseBarDeailAnliDetailController(x.id,$index,true)">
									<span class="right-title">
										<b id="ss" ng-bind-html="x.title"></b>
									</span><br/>
                <div style="margin-top: 10px;" >
                    <button type="button" class="btn btn-danger btn-xs Aj-type" style="width: 50px;height: 20px">民事
                    </button>
                    <button type="button" class="btn btn-primary btn-xs Aj-type"
                            style="width: 50px;height: 20px;background-color: #00acf3">二审
                    </button>
                    <span ng-bind-html="x.courtName+x.caseNumber"></span>
                </div>

            </div>
          </a>
            <div class="pull-right">

                <a href="http://59.110.64.34:8088/solr/getWordFile?id={{x.id}}" target="_blank">
                    <button type="button" class="btn btn-default btn-sm">
                        下载<img class="download-img" src="img/download.png"/>
                    </button>
                </a>

            </div>

            <div class="pull-left" style="width: 100%">
                <p class="Aj-result">裁判结果</p>
                <span class="Aj-des" ng-bind-html="x.courtOpinion"></span>
            </div>

            <div class="right-detail-line pull-left"></div>

        </div>

        <div class="clear">
            <!-- 分页-->
            <div  class="pagCenter clear"  style="width: 100%; height: 80px;">
                <ul class="pagination">
                    <li>
                        <a href="JavaScript:;" ng-click="changePage(1)">
                            <i class="fa fa-2x fa-angle-left"></i>
                        </a>
                    </li>
                    <li><a href="JavaScript:void(0);" ng-click="changePage(page*1-1)">上一页</a></li>


                    <li ng-repeat="tPage in totalPas">
                        <a ng-click="changePage(tPage)" class="select select{{tPage}}" ng-class="{selected:tPage==page}">{{tPage}}</a>
                    </li>

                    <li><a class="selected" href="JavaScript:;" ng-click="changePage(page*1+1)">下一页</a></li>

                    <li >
                        <a href="JavaScript:;" ng-click="changePage(GeneralPage)">
                            <i class="fa fa-2x fa-angle-right"></i>
                        </a>
                    </li>
                </ul>
                <span  class="totalNum" ng-model="totalCount">共{{totalCount}}条数据</span>
            </div>


        </div>

    </div>


</div>
<script type="text/javascript">

    function goTopEx() {
        var obj = document.getElementById("goTopBtn");

        function getScrollTop() {
            return document.documentElement.scrollTop + document.body.scrollTop;
        }

        function setScrollTop(value) {
            if(document.documentElement.scrollTop) {
                document.documentElement.scrollTop = value;
            } else {
                document.body.scrollTop = value;
            }
        }
        window.onscroll = function() {
            getScrollTop() > 0 ? obj.style.display = "" : obj.style.display = "none";
        }
        obj.onclick = function() {
            var goTop = setInterval(scrollMove, 10);

            function scrollMove() {
                setScrollTop(getScrollTop() / 1.1);
                if(getScrollTop() < 1) clearInterval(goTop);
            }
        }
    }
    goTopEx();
</script>




